﻿package com.jxl.dnd.races
{
	import jxl.dnd.races.RacialAbility;
	
	public class Elf extends Race
	{
		
		public var className:String = "Elf";
		
		public function Elf():void
		{
			super();
			
			size = "medium";
			speed = 30; // feet
			racialAbilities_array = [];
			extraFeat = 0;
			extraSkillPoints = 0;
			extraSkillPointsPerLevel = 0;
			bonusProficienciesAmount = 1;
			bonusProficienciesChoices_array = ["longsword", "rapier"];
			bonusProficiencies_array = ["shortbow", "longbow", "composite longbow", "composite shortbow"];
			bonusLanguagesAmount = 0;
			bonusLanguages_array = ["Elven"];
			bonusLanguagesChoices_array = ["Draconic", "Gnoll", "Gnome", "Goblin", "Orc", "Sylvan"];
			favoredClass = "Wizard";
			languages_array = ["Common"];
			literacy = true;
			dexterityBonus = 2;
			constitutionBonus = -2;
		
			racialAbilities_array = [new RacialAbility("Sleep Immunity",
													   "sleep immunity",
													   0,
													   null,
													   null,
													   "sleep"),
									 new RacialAbility("Enchantment Resistance",
													   "Enchantment Resistance",
													   2,
													   null,
													   "enchantment"),
									  new RacialAbility("Low-light Vision",
													   null,
													   2),
									  new RacialAbility("keen senses",
													   "keen senses",
													   2,
													   5)];
		}
	}
}